<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

<!--
      action="/login"  处理登录请求（/login）
      name="username" 用户名的参数名默认是username
      name="password" 密码的参数名默认是password
      method="post" 必须是post

<form action="/login2" method="post">
    username：<input type="text" name="username2"><br>
    password：<input type="password" name="password2"><br>
    <input type="submit" value="submit">
</form>
-->

<form action="/login" method="post">
    username：<input type="text" name="username"><br>
    password：<input type="password" name="password"><br>
    <input type="submit" value="submit">
</form>


</body>
</html>
